package com.dto;

import com.pojo.Comments;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

@Data
public class CommentsWithUserDTO {
    private Integer id;
    private Integer userId;
    private Integer noteId;
    private String content;
    private Integer parentId;
    private LocalDateTime createdAt;
    private LocalDateTime updatedAt;
    //子回复
    private List<CommentsWithUserDTO> replies;

    private String nickname;
    private String avatarUrl;

}
